package com.wodsy.phoenix.datadao.memberc.dao.impl;

import com.wodsy.phoenix.datadao.base.BaseHibernateDao;
import com.wodsy.phoenix.datadao.memberc.dao.ReceiptAddressDao;
import com.wodsy.phoenix.dataobject.memberc.model.ReceiptAddress;
import org.hibernate.SessionFactory;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.beans.factory.annotation.Qualifier;
import org.springframework.stereotype.Repository;

/**
 * 名称：com.wodsy.phoenix.datadao.memberc.dao.impl
 * 描述：<br>
 * 类型：JAVA<br>
 * 最近修改时间：11/03/2015 16:35<br>
 *
 * @author Jack Chan
 * @since 11/03/2015
 */
@Repository
public class ReceiptAddressDaoImpl extends BaseHibernateDao<ReceiptAddress, Integer> implements ReceiptAddressDao {
    @Override
    @Autowired
    @Qualifier(value="memberc")
    public void setSessionFactory(SessionFactory sessionFactory) {
        this.sessionFactory = sessionFactory;
    }

    @Override
    public Class<ReceiptAddress> getModelClass() {
        return ReceiptAddress.class;
    }
}
